package cn.com.yx.ms.persistence;

import cn.com.yx.ms.application.web.ApiQueryBase;
import cn.com.yx.ms.domain.dbmodel.DevAlertInfo;
import cn.com.yx.ms.domain.dev.DevAlertInfoModel;

import java.util.List;

public interface DevAlertInfoMapper {
    int deleteByPrimaryKey(String guid);

    int insert(DevAlertInfo record);

    int insertSelective(DevAlertInfo record);

    DevAlertInfo selectByPrimaryKey(String guid);

    int updateByPrimaryKeySelective(DevAlertInfo record);

    int updateByPrimaryKey(DevAlertInfo record);

    int findAlertCount();

    List<DevAlertInfoModel> find(ApiQueryBase query);

    int updateAlert(DevAlertInfoModel devAlertInfoModel);
}